// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import i18n from './i18n'

// 添加ant design 全局变量
import ant from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

// 添加echarts
import echarts from 'echarts'

import VueWechatTitle from 'vue-wechat-title'

Vue.use(ant)
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false
Vue.use(VueWechatTitle)

/* eslint-disable no-new */
new Vue({
  i18n,
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
